package com.yyplatform.admin.platform.role.model.entity;

import java.util.Date;

import com.yyplatform.admin.infra.model.entity.BaseEntity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

@Entity
@Getter
@Setter
@Table(name = "sys_captcha_log")
public class SysCaptchaLogEntity extends BaseEntity {

    @Column(name = "uuid", nullable = false, columnDefinition = " varchar(200) comment  'UUID' ")
    private String uuid;

    @Column(name = "captcha", nullable = false, columnDefinition = " varchar(200)  comment '验证码值' ")
    private String captcha;

    @Column(name = "expire_time", nullable = false, columnDefinition = "datetime comment '过期时间' ")
    private Date expireTime;

    @Column(name = "user_agent", nullable = false, columnDefinition = " varchar(200) comment '请求UA' ")
    private String userAgent;

    @Column(name = "ip", nullable = false, columnDefinition = " varchar(50) comment '请求IP' ")
    private String ip;

    @Column(name = "location", nullable = false, columnDefinition = " varchar(200) comment '请求地址' ")
    private String location;

    @Column(name = "browser", nullable = false, columnDefinition = " varchar(50) comment '浏览器' ")
    private String browser;

    @Column(name = "os", nullable = false, columnDefinition = " varchar(50) comment '操作系统'")
    private String os;


}
